package com.bjsxt.service;

import com.bjsxt.domain.SysPrivilege;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @date:2022/1/3 10:01
* @author:yang
*/
public interface SysPrivilegeService extends IService<SysPrivilege>{

    /**
     * 获取所有权限
     * @param roleId
     * @return
     */
        List<SysPrivilege> getAllSysPrivilege(Long menuId, Long roleId);
    }
